<template>
<!--  <img src="src/assets/logo.png" width="250">-->
<!--  <el-dropdown class="drop">-->
<!--    <span class="el-dropdown-link">-->
<!--      admin-->
<!--      <el-icon class="el-icon&#45;&#45;right"><arrow-down/></el-icon>-->
<!--    </span>-->
<!--    <template #dropdown>-->
<!--      <el-dropdown-menu>-->
<!--        <el-dropdown-item @click="userMsg" >用户信息</el-dropdown-item>-->
<!--        <el-dropdown-item @click="tuichu" >退出系统</el-dropdown-item>-->
<!--      </el-dropdown-menu>-->
<!--    </template>-->
<!--  </el-dropdown>-->
</template>

<script setup>
function userMsg() {
  alert("查看用户信息");
}
function tuichu() {
  alert("退出系统");
}
</script>

<style scoped>

.drop {
  float: right;
}

.el-dropdown-link {
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  line-height: 50px;
  border: none !important;
  outline: none;
  box-shadow: none;
}
.el-dropdown-link:hover{
  border: none !important;
  outline: none;
  box-shadow: none;
}
</style>